{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_current_language_bidi as LANGUAGE_BIDI %}
{% load user_tags %}
<p class="message">
    <span class="face"><img src="{{ item.sender.face|face16 }}" class="face16" /></span>
    <a href="{% url mvc.views.index_user item.sender.username %}" class="name">{{ item.sender.realname }}</a>
    <span class="date">{{ item.addtime|timesince }} {% trans 'ago' %},</span>
    <span class="delete"><a href="{% url mvc.views.mail_detail item.id %}">{% trans 'View' %}</a></span>
    &nbsp;
    <span class="delete"><a href="{% url mvc.views.mail_delete item.id %}">{% trans 'Delete' %}</a></span>
</p>